package lab2;

public interface LossFunction {
    //损失函数用于计算神经网络每次迭代的向前计算结果和真实值的差距
    public void calGap();
}

class TensorflowLossFunction implements LossFunction{

    @Override
    public void calGap() {
        System.out.println("Calculate Tensorflow loss function...");
    }
}

class PaddlePaddleLossFunction implements LossFunction{

    @Override
    public void calGap() {
        System.out.println("Calculate PaddlePaddle loss function...");
    }
}

class PyTorchLossFunction implements LossFunction{

    @Override
    public void calGap() {
        System.out.println("Calculate PyTorch loss function...");
    }
}
